package com.symbio.ishenapi.patient.controller;

import com.symbio.ishenapi.common.controller.BaseController;
import io.jboot.web.controller.annotation.RequestMapping;

/**
 * wy:这个Controller全部移动到后台
 */
@RequestMapping("/")
public class SaveUser extends BaseController{


    /*public void saveMassage(){      //个人信息录入
        //根据传参值转成。。
        TmPatientUser user = (TmPatientUser) getReqBodyObject(TmPatientUser.class);
        user.save();
        //System.out.println("hello!");
        //renderText("hello save!");
    }

    public void dbUser(){       //个人信息显示
        String Id = getPara("id");
        Record user = Db.findById("TmPatientUser","userId",Id);
        renderJson(user);

    }

    public void toupd(){//欲修改
        String id = getPara("id");
        Record re = Db.findById("TmPatientUser","id",id);
        renderJson(re);
    }

    public void updUser(){      //个人信息修改
        TmPatientUser use = (TmPatientUser) getReqBodyObject(TmPatientUser.class);
        use.update();
    }*/
}
